/* pages/user/assets/detail/detail.wxss */
.flex {
	display: flex;
}
.content {
	background: $uni-goods-content-bg-color;
	border-radius: 20px 20px 0 0;
	padding: 90rpx 40rpx 40rpx;
	margin-top: -20px;
	position: relative;
	.title-box {
		border-radius: 36rpx;
		min-height: 300rpx;
		background: linear-gradient(270deg, #1a1a1a, #666);
		position: absolute;
		top: -160rpx;
		width: 670rpx;
		.top {
			display: flex;
			align-items: center;
			justify-content: space-between;
			width: 100%;
			height: 110rpx;
			padding: 0 20rpx 0 30rpx;
			.price {
				display: inline-block;
				font-style: normal;
				font-weight: 500;
				font-size: 40rpx;
				letter-spacing: 1.12rpx;
				color: #fff;
				span {
					font-weight: 700;
					font-size: 56rpx;
					line-height: 56rpx;
				}
			}
		}
	
		.bottom {
			box-sizing: border-box;
			position: relative;
			display: block;
			width: 100%;
			min-height: 190rpx;
			padding: 40rpx 30rpx 0;
			border-radius: 36rpx;
			border: 1px solid #ddd;
			background: #fff;
			display: flex;
			flex-direction: column;
			justify-content: flex-start;
			align-items: flex-start;
			&::before {
				content: "";
				position: absolute;
				top: 0;
				left: -30rpx;
				width: 690rpx;
				height: 156rpx;
				background: url('@/static/images/other_bg.png') no-repeat;
				background-size: 100% 100%;
				z-index: -1;
			}
	
			.title {
				margin-bottom: 15rpx;
				font-style: normal;
				font-weight: 700;
				font-size: 40rpx;
				line-height: 47rpx;
				letter-spacing: 1.18rpx;
				color: #000;
				flex: 1;
				text-overflow: ellipsis;
				white-space: nowrap;
				overflow: hidden;
			}
	
			.tag-box {
				font-style: normal;
				font-weight: 700;
				font-size: 24rpx;
				line-height: 34rpx;
				letter-spacing: 1rpx;
				margin-bottom: 22rpx;
				padding-right: 8rpx;
				margin-right: 20rpx;
				color: #b47528;
				background: rgba(240, 213, 182, .24);
				border-radius: 4rpx;
				.tag-title {
					display: inline-block;
					height: 100%;
					background: linear-gradient(74.33deg, #ffad8d 7%, #ffbf75 86.31%);
					padding: 0 8rpx;
					margin-right: 1rpx;
					border-radius: 4rpx 0 0 4rpx;
					color: #441c02;
				}
	
				.tag-num {
					margin-left: 8rpx;
				}
			}
		}
	}
}

.content .component-title {
	font-size: 32rpx;
	color: $uni-goods-content-color-comp-title;
	font-weight: bold;
}

.content .component-content {
	// background-color: $uni-goods-content-bg-color-comp;
	margin-top: 40rpx;
	padding: 30rpx;
	border-radius: 30rpx;
	border: 1px solid #eee;
}
/* 发行放 持有者 */
.introduction {
	display: flex;
	.introduction-item {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 336rpx;
		height: 192rpx;
		padding: 40rpx 20rpx 24rpx 30rpx;
		box-sizing: border-box;
		border-radius: 36rpx;
		border: 1px solid #ddd;
		margin-left: 16rpx;
		&:first-child {
			margin-left: 0;
		}
		.title {
			display: block;
			height: 30rpx;
			font-style: normal;
			font-weight: 700;
			font-size: 30rpx;
			line-height: 30rpx;
			letter-spacing: 1.17647rpx;
			color: #000;
		}

		.info {
			display: flex;
			font-size: 24rpx;
			line-height: 64rpx;

			.info-name {
				flex: 1;
				margin-left: 16rpx;
			}

			.info-img {
				width: 64rpx;
				height: 64rpx;
			}
		}
	}
}
.content .content-component:nth-child(n+2) {
	margin-top: 70rpx;
}

.content .owner__avatar {
	width: 108rpx;
	height: 108rpx;
	border-radius: 50%;
	overflow: hidden;
}

.content .owner__avatar image {
	width: 100%;
	height: 100%;
}

.content .content-key {
	width: 170rpx;
  flex-shrink: 0;
}

.media {
	overflow: hidden;
	background-color: #fff;
	padding: 10rpx;
	box-shadow: 0 2px 30px rgba(0,0,0, 0.3);
	.audio__cover {
		border-radius: 30rpx;
	}
}

.header--blind .media {
	border-radius: 15rpx;
}

.header--normal .media {
	border-radius: 30rpx;
	overflow: hidden;
}

.audio__cover-wrapper.opened {
	width: 240rpx;
	height: 240rpx;
}

.audio__cover-wrapper {
	width: 464rpx;
	height: 464rpx;
	font-size: 0;
}

.header.header--blind {
	position: relative;
	height: 100vh;
}

.header--blind.opened {
	background-image: url(https://imgcdn.ecbao.cn/nft/assets/header_bg_light.jpg);
}

.header--blind .drawing-box {
	width: 720rpx;
	height: 697rpx;
	background-image: url("https://imgcdn.ecbao.cn/nft/assets/drawing_box2.png");
	background-size: cover;
	background-position: center;
	position: absolute;
	left: 50%;
	top: 200rpx;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.header--blind .drawing-box.show {
	opacity: 1;
}

.audio__cover {
	width: 100%;
	height: 100%;
}

.nft-key {
	word-break: break-all;
}

.footer-fixed {
	width: 100%;
	height: auto;
	display: inherit;
}

.footer-fixed .btn-normal {
	text-align: center;
	line-height: 120rpx;
}

.footer-fixed .btn-sale {
	// background-color: #1c1c1c;
	color: $uni-text-color-active !important;
}

.footer-fixed .btn-given {
	background: $uni-bg-color-main-linear;
	color: #000;
}

/* 音频 */
.audio-player {
	height: 100rpx;
	background: $uni-bg-color;
}

.audio-player .audio-play-btn-wrapper {
	width: 100rpx;
	height: 100%;
	position: relative;
}

.audio-player .audio-play-btn {
	width: 54rpx;
	height: 54rpx;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

.audio-player .audio-slider-wrapper {
	height: 100%;
	position: relative;
}

.audio-player .audio-current-time {
	width: 110rpx;
}

.audio-player .audio-slider {
	width: 100%;
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.audio-player .audio-duration {
	min-width: 100rpx;
	margin-left: 20rpx;
}

.given-alert-container {
	background: #FFFFFF;
	border-radius: 30rpx;
	padding: 40rpx 30rpx;
	box-sizing: border-box;
}

.given-alert .assets-info {
	height: 200rpx;
	background: #1C1C1C;
	border-radius: 20rpx;
	padding: 0 30rpx;
}

.given-alert .assets__img {
	width: 146rpx;
	height: 146rpx;
	border-radius: 14rpx;
}

.given-alert .assets__no-wrapper {
	margin-top: 20rpx;
	text-align: left;
}

.given-alert .search-area {
	border-top: 1px solid #eee;
	margin-top: 50rpx;
}

.given-alert .input-wrapper {
	height: 76rpx;
	background: #F9F9F9;
	border-radius: 15rpx;
	padding-left: 28rpx;
	position: relative;
	overflow: hidden;
}

.sale-alert .input-wrapper {
	height: 58rpx;
	background: transparent !important;
	border: 1px solid #666666;
	border-radius: 6rpx;
	padding-left: 10rpx;
}

.given-alert input {
	width: 80%;
	height: 100%;
}

.sale-alert .input-wrapper input {
	padding-left: 6rpx;
}

.given-alert .input-wrapper .btn-search {
	width: 20%;
	height: 100%;
	line-height: 76rpx;
	color: $uni-text-color;
	font-size: 26rpx;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
}

.given-alert .input-wrapper .btn-search:before {
	content: "";
	width: 1px;
	height: 22rpx;
	background: #CCCCCC;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

.given-alert .btn-given {
	height: 72rpx;
	background: $uni-bg-color;
	border-radius: 36rpx;
	margin-top: 65rpx;
	text-align: center;
	color: $uni-text-color-inverse;
	font-size: 30rpx;
	line-height: 72rpx;
	position: relative;
}

.given-alert .btn-given[disabled] {
	background: $uni-bg-color !important;
	color: $uni-text-color-inverse !important;
	opacity: 0.6;
}

.given-alert .btn-given .fee {
	color: $uni-text-color-grey;
	font-size: 22rpx;
	position: absolute;
	bottom: 0;
	left: 65%;
}

.given-alert checkbox {
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
}

.given-alert .given-agreement {
	margin-top: 20rpx;
}

.given-alert .btn-close {
	width: 100rpx;
	height: 100rpx;
	margin: 20rpx auto;
	text-align: center;
	line-height: 100rpx;
}

.given-alert .btn-close text {
	color: $uni-text-color-inverse;
	font-size: 56rpx;
}

.icon--tishi {
	font-size: 28rpx;
	color: $uni-bg-color-main;
}

.given-alert .user__avatar {
	width: 96rpx;
	height: 96rpx;
	border-radius: 50%;
	overflow: hidden;
}

.given-alert .user__avatar image {
	width: 100%;
	height: 100%;
}

.given-alert .user-info {
	margin-left: 30rpx;
}

.given-success-alert {
	text-align: center;
}

.given-success-alert .img-success .dy-iconfont {
	font-size: 66rpx;
	color: $uni-text-color;
}

.given-success-alert .given-success-alert-title {
	margin-top: 30rpx;
	margin-bottom: 70rpx;
	font-size: 38rpx;
	color: $uni-text-color;
}

.given-success-alert .given-user-info-wrapper {
	margin-top: 70rpx;
	text-align: center;
}

.given-success-alert .given-user-info {
	display: inline-block;
	position: relative;
	padding: 0 116rpx;
}

.given-success-alert .given-user-info:before,
.given-success-alert .given-user-info:after {
	content: "";
	width: 96rpx;
	height: 1px;
	background: #CCCCCC;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
}

.given-success-alert .given-user-info:before {
	left: 0;
}

.given-success-alert .given-user-info:after {
	right: 0;
}

.given-success-alert .user__avatar {
	margin: 40rpx auto 0;
}

.header--blind .booth {
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

.header--blind .booth.down {
	-webkit-transform: translateY(200rpx);
	transform: translateY(200rpx);
}

.header.header--normal .booth {
	padding-top: 120rpx !important;
}

.booth .assets__no-wrapper {
	text-align: center;
}

.footer-fixed--blind {
	background: unset;
	padding: 0 30rpx;
	box-sizing: border-box;
}

.footer-fixed .btn-open-blind {
	height: 90rpx;
	background: $uni-bg-color-main-linear;
	border-radius: 45rpx;
	line-height: 90rpx;
	margin-bottom: 50rpx;
}

.swing {
	-webkit-animation: shake_image 0.8s linear 0s 1 normal;
	animation: shake_image 0.8s linear 0s 1 normal;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes shake_image {
	0% {
		-webkit-transform: scale3d(1, 1, 1);
	}

	6% {
		-webkit-transform: scale3d(1, 1, 1) rotate(0, 0, 1, -8deg);
	}

	18%,
	30%,
	42% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 8deg);
	}

	12%,
	24%,
	36%,
	48% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -8deg);
	}

	54% {
		-webkit-transform: scale3d(1, 1, 1);
	}

	60% {
		-webkit-transform: scale3d(0.8, 0.8 0.8);
	}

	70% {
		-webkit-transform: scale3d(0.6, 0.6, 0.6);
	}

	80% {
		-webkit-transform: scale3d(0.8, 0.8, 0.8);
	}

	90% {
		-webkit-transform: scale3d(1, 1, 1);
	}

	95% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1);
	}

	100% {
		-webkit-transform: scale3d(1, 1, 1);
	}
}

@keyframes shake_image {
	0% {
		transform: scale3d(1, 1, 1);
	}

	6% {
		transform: scale3d(1, 1, 1) rotate(0, 0, 1, -8deg);
	}

	18%,
	30%,
	42% {
		transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 8deg);
	}

	12%,
	24%,
	36%,
	48% {
		transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -8deg);
	}

	54% {
		transform: scale3d(1, 1, 1);
	}

	60% {
		transform: scale3d(0.8, 0.8 0.8);
	}

	70% {
		transform: scale3d(0.6, 0.6, 0.6);
	}

	80% {
		transform: scale3d(0.8, 0.8, 0.8);
	}

	90% {
		transform: scale3d(1, 1, 1);
	}

	95% {
		transform: scale3d(1.1, 1.1, 1.1);
	}

	100% {
		transform: scale3d(1, 1, 1);
	}
}

.btn-share {
	width: 100rpx;
	height: 100rpx;
	background: #535353;
	border-radius: 50%;
	position: fixed;
	right: 20rpx;
	bottom: 240rpx;
}

.btn-share view {
	color: #D9C9B9;
}

.sale-alert .sale-price-title {
	line-height: 58rpx;
}

.sale-success-alert .given-alert-container {
	padding: 60rpx 30rpx;
}
.perfect-tips-placeholder {
	height: 100rpx;
}

.perfect-tips-container {
	width: 100%;
	height: 100rpx;
	background: #1c1c1c;
	padding: 0 20rpx;
	border-bottom: 1px solid #4b4a48;
	box-sizing: border-box;
}

.perfect-tips .perfect-tips__title text {
	color: #FF4400;
}

.perfect-tips .btn-perfect text {
	color: $uni-text-color-active;
}
